package com.copractice.beans.categories;

/**
 * Represents category record for representing in the category table.
 * 
 * @author Dmitry Churbanov (dmitry.churbanov@gmail.com)
 * @version 1.0 01/03/2010
 */
public class CategoryVO {

    private Long   id;
    private String areaName;
    private String numberOfQuestions;
    private String learningScore;
    private String teachingScore;

    public CategoryVO(Long id, String areaName, String numberOfQuestions, String learningScore, String teachingScore) {
        this.id = id;
        this.areaName = areaName;
        this.numberOfQuestions = numberOfQuestions;
        this.learningScore = learningScore;
        this.teachingScore = teachingScore;
    }

    public CategoryVO(Long id, String areaName, Long numberOfQuestions, Long learningScore, Long teachingScore) {
        this.id = id;
        this.areaName = areaName;
        this.numberOfQuestions = String.valueOf(numberOfQuestions);
        this.learningScore = String.valueOf(learningScore);
        this.teachingScore = String.valueOf(teachingScore);
    }

    public String getNumberOfQuestions() {
        return numberOfQuestions;
    }

    public void setNumberOfQuestions(String numberOfQuestions) {
        this.numberOfQuestions = numberOfQuestions;
    }

    public String getLearningScore() {
        return learningScore;
    }

    public void setLearningScore(String learningScore) {
        this.learningScore = learningScore;
    }

    public String getTeachingScore() {
        return teachingScore;
    }

    public void setTeachingScore(String teachingScore) {
        this.teachingScore = teachingScore;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

}
